package com.keruyun.portal.whitelist.gateway.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * <p>
 * Description: com.keruyun.portal.whitelist.gateway.entity
 * </p>
 * date：2018/8/1
 * email:crowhyc@163.com
 *
 * @author Dean.Hwang
 */
@Data
@AllArgsConstructor
public class HttpResult {
    private Integer code;
    private String content;


    public static HttpResult get404Result(String url) {
        return new HttpResult(404, "Path:" + url + " not found ");
    }
}
